Skip to content

v3.2: Editorial improvements to Appendix E (Percent-Encoding) #4797

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 19, 2025

Conversation

handrews
Copy link
Member

Percent-Encdoing is mind-boggling, make a TL;DR section.

Also clarify that format has to be enabled to impact validation.

  • schema changes are included in this pull request
  • schema changes are needed for this pull request but not done yet
  • no schema changes are needed for this pull request

Percent-Encdoing is mind-boggling, make a TL;DR section.

Also clarify that `format` has to be enabled to impact validation.
@handrews handrews added the editorial Wording and stylistic issues label Jul 18, 2025
@handrews handrews requested review from a team as code owners July 18, 2025 18:48
@ralfhandl ralfhandl requested a review from a team July 19, 2025 15:08
Copy link
Contributor

@lornajane lornajane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! I think the short version might serve many audiences :)

@lornajane lornajane merged commit 52b3218 into OAI:v3.2-dev Jul 19, 2025
2 checks passed
@@ -4451,7 +4462,7 @@ WHATWG is a [web browser-oriented](https://whatwg.org/faq#what-is-the-whatwg-wor
WHATWG's percent-encoding rules for query strings are different depending on whether the query string is [being treated as `form-urlencoded`](https://url.spec.whatwg.org/#application-x-www-form-urlencoded-percent-encode-set) (where it requires more percent-encoding than [[RFC1738]]) or [as part of the generic syntax](https://url.spec.whatwg.org/#query-percent-encode-set), where it allows characters that [[RFC3986]] forbids.

Implementations needing maximum compatibility with web browsers SHOULD use WHATWG's `form-urlencoded` percent-encoding rules.
However, they SHOULD NOT rely on WHATWG's less stringent generic query string rules, as the resulting URLs would fail RFC3986 validation, including JSON Schema's `format: uri` and `format: uri-reference`.
However, they SHOULD NOT rely on WHATWG's less stringent generic query string rules, as the resulting URLs would fail RFC3986 validation, including JSON Schema's `format: uri` and `format: uri-reference` (when `format` validation is endabled).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: endabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial Wording and stylistic issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants